public with sharing class Test1Controller {
    

    public String dataJson {get; set;}


    public Test1Controller() {
       	


       	System.debug('Test1Controller');


       	dataJson = 'helll world';

    }

    public void init(){


    		System.debug('Test1Controller init');


    }


    public void  getData(){

    	//Sql 1. 
    	// String sql = 'select Id ,Name from Account where Name like \'%迈克%\' limit 1 ';

    	// Account acc  =  Database.query(sql);

    	// // SOQL
    	// Account acc1 = [select Id ,Name from Account where Name  like '%迈克实业%' limit 1  ];


    	// //关联查询

    	// Opportunity opp = [select Id,Account.City__r.Name from Opportunity where Account.City__c != null   limit 1];

    	// opp.AccountId = acc1.Id ;

    	// update opp;

    	// opp = new Opportunity();
    	// opp.AccountId = acc.Id;
    	// insert opp;

    	// delete opp;

    	// undelete opp;

    	// upsert opp;

    	// List<Account> aList = new List<Account>();
    	// update aList;
    	// insert aList;
    	// delete aList;
    	// undelete aList;
    	// upsert aList;


    	// Product__c p1 = new Product__c();



   		// opp.put('Id','111');

   		// Account acc = opp.getSObject('Account');

   		// Pattern.compile('');
   		// Matcher.find();

    	// delete [select Id from Account limit 1];

    	// Database.delete('select Id from Account limit 1');
    	System.debug(System.currentPageReference().getParameters());

    	dataJsoN = dataJsoN +'   hello';



    }

}